package com.geetour.columbus.common.exceptions;

public class BOException extends BaseException {

    private static final long serialVersionUID = -3793968990681835609L;

    private int               errorCode;

    public BOException(){
    }

    public BOException(Throwable cause){
        super(cause);
        this.errorCode = 0;
    }

    public BOException(String msg, Throwable cause){
        super(msg, cause);
        this.errorCode = 0;
    }

    public BOException(String message){
        super(message);
        this.errorCode = 0;
    }

    public BOException(int errorCode, String message){
        super(message);
        this.errorCode = errorCode;
    }

    public BOException(int errorCode, String message, Throwable cause){
        super(message, cause);
        this.errorCode = errorCode;
    }

    public int getErrorCode() {
        return errorCode;
    }
}
